/*
 * @Author: nainaiyi s15037075861@163.com
 * @Date: 2022-09-05 10:50:56
 * @LastEditors: nainaiyi s15037075861@163.com
 * @LastEditTime: 2022-09-05 11:28:14
 * @FilePath: \购物车\shopapp\src\App.tsx
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import React from 'react';
import { RouteList } from './Route';
import { useRoutes } from 'react-router-dom'
import './App.css';

const App = () => {
  const element = useRoutes(RouteList)
  return (
    <div className="App">
      {element}
    </div>
  );
}

export default App;
